﻿using System;

namespace Sayook.Framework.DbCore
{
    /// <summary>
    /// 数据库表属性
    /// </summary>
    public class DbTableAttribute : Attribute
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; private set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="tableName">表名</param>
        public DbTableAttribute(string tableName)
        {
            TableName = tableName;
        }
    }

    /// <summary>
    /// 字段自增标签
    /// </summary>
    public class AutoIncrementAttribute : Attribute
    {
    }
}